Home > biomechZoo > Toolbox > Zoo Processing > addevent_data.m

addevent_data

PURPOSE ^

data = ADDEVENT_DATA(data,ch,ename,type) called by bmech_addevent to add data to event branches.

SYNOPSIS ^

function data = addevent_data(data,ch,ename,type, constant)

DESCRIPTION ^

 data = ADDEVENT_DATA(data,ch,ename,type) called by bmech_addevent to add data to event branches.

 ARGUMENTS
  data     ...  Zoo data
  ch       ...  Channels to add event to (cell arrray of strings). 
  ename    ...  The name of the new event branch in zoo file as string
  type     ...  See line 47 ('max' 'min' 'toe off' heel strike'...) string
  constant ...  a constant value to be used by a specific case.

 RETURNS
  data     ...  Zoo data with new event data appended

 NOTES
 - Users are encouraged to modify event functions for specific needs
 - Not all events have been tested

 See also bmech_addevent, bmech_removeevent, bmech_renameevent

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005